package cn.damai.search.service;


import cn.damai.common.Page;
import cn.damai.search.vo.DmAreaVo;
import cn.damai.search.vo.DmItemTypeVo;
import cn.damai.search.vo.ItemSearchVo;
import cn.damai.search.vo.SearchParametersVo;

import java.util.List;
import java.util.Map;


/**
 *  ES 搜索方法定义
 */
public interface ItemSearchService {

   void importItemList();

    Page<ItemSearchVo> queryItemList(Integer curPage, Map<String, Object> param);

    List<DmAreaVo> queryArea();

    List<DmItemTypeVo> queryItemType(String param);

    Integer queryItemCount(String itemType1);

    SearchParametersVo queryGrouping(Map<String, Object> params);

    List<DmItemTypeVo> queryItemTypeGrouping1(Map<String, Object> params);


}
